home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / standards / ansi / X3T9 / area13 / pdiag.doc < prev    next >
Encoding:
Text File  |  1992-05-12  |  8.5 KB  |  265 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      A D A P T E C
  6.                                      A D A P T E C
  7.  
  8.  
  9.           DATE:     December 2, 1989
  10.  
  11.           TO:       Dal Allan
  12.  
  13.           FROM:     Tom Newman (Adaptec, Inc)
  14.  
  15.           SUBJECT:  ATA PDIAG and DASP Timing
  16.  
  17.          ----------------------------------------------------------------------
  18.  
  19.  
  20.  
  21.           This document describes the following timing conditions to be
  22.           included in the ATA specification:
  23.  
  24.           o  Power-on Reset
  25.                -  One drive
  26.                -  Two drives
  27.  
  28.           o  Soft Reset
  29.                - One drive
  30.                - Two drives
  31.  
  32.           o  Diagnostic Command
  33.                - One drive
  34.                - Two drives
  35.                - Two drives -- drive 1 failed
  36.  
  37.  
  38.           The timings assume the following:
  39.           o    DASP- is driven by Drive 1 and received by Drive 0 at Power-on
  40.                Reset time to indicate the present of Drive 1.  At all other
  41.                times it is driven by Drive 0 and Drive 1 as the LED BUSY
  42.                indicator.
  43.  
  44.           o    PDIAG- is driven by Drive 1 and received by Drive 0.  It is
  45.                used by Drive 1 to tell Drive 0 that it has passed diagnostics
  46.                and is ready to accept commands from the Host (BUSY bit is
  47.                cleared).  This does not indicate that the drive is Ready,
  48.                only that it can accept commands.  This line may remain
  49.                asserted until the next Reset or Diagnostic command is
  50.                received.
  51.  
  52.           o    Unless  indicated otherwise,  all  times are  relative  to the
  53.                event  that   trigger  the  operation   (RESET-,  Soft  Reset,
  54.                Diagnostic Command written).
  55.  
  56.  
  57.           POWER-ON RESET -- ONE DRIVE
  58.           POWER-ON RESET -- ONE DRIVE
  59.  
  60.           --   RESET- asserted for a minimum of 300 nsecs.
  61.           --   Drive 0 sets BUSY within 400 nsecs. after RESET- is negated.
  62.           --   DASP- negated within 1 msec. after RESET- negated.
  63.           --   Perform hardware initialization
  64.  
  65.  
  66.  
  67.                                            1
  68.  
  69.  
  70.  
  71.  
  72.  
  73.           --   Reverts to default condition
  74.           --   Drive 0 waits 1 msec. then samples 500 msecs. for DASP-
  75.                asserted from Drive 1.
  76.           --   Drive 0 clears BUSY when ready to accept commands (within 31
  77.                seconds).
  78.  
  79.  
  80.           POWER-ON RESET -- TWO DRIVES
  81.           POWER-ON RESET -- TWO DRIVES
  82.  
  83.           --   RESET- asserted for a minimum of 300 nsecs.
  84.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after RESET-
  85.                negated.
  86.           --   DASP- negated within 1 msec. after RESET- negated.
  87.  
  88.           -DRIVE 1
  89.  
  90.           --   Negate PDIAG- before DASP- is asserted.
  91.           --   Assert DASP- within 500 msecs after RESET- (shows Drive 1
  92.                present).
  93.           --   Perform hardware initialization/internal diagnostics.
  94.           --   Revert to default condition
  95.           --   Post diagnostic results to the ERROR register
  96.           --   Clear BUSY when ready to accept commands.
  97.           --   Assert PDIAG- to show ready to accept commands (within 30
  98.                seconds from RESET-).
  99.           --   Negate DASP- after the first command is received for Drive 1.
  100.                DASP- is also negated if no command is received for Drive 1
  101.                within 30 seconds after RESET-.
  102.  
  103.           --DRIVE 0
  104.  
  105.           --   Perform hardware initialization/internal diagnostics.
  106.           --   Revert to default condition
  107.           --   Post diagnostic results to the ERROR register
  108.           --   After 1 msec., wait 500 msecs. for DASP- to be asserted (from
  109.                Drive 1).
  110.                If DASP- is not asserted, no Drive 1 present (see POWER-ON
  111.                RESET -- ONE DRIVE operation).
  112.           --   Wait up to 31 seconds for Drive 1 to assert PDIAG-,
  113.                If PDIAG- is not asserted, set bit 7 in ERROR register.
  114.           --   Clear BUSY when ready to accept commands (within 31 seconds).
  115.  
  116.  
  117.           SOFT RESET -- ONE DRIVE
  118.           SOFT RESET -- ONE DRIVE
  119.  
  120.           --   Soft Reset (register 3F6) set by Host.
  121.           --   Wait for Soft Reset cleared by Host.
  122.           --   Drive 0 sets BUSY within 400 nsecs. after Soft Reset is
  123.                cleared.
  124.           --   Perform hardware initialization/internal diagnostics.
  125.           --   Revert to default condition
  126.           --   Post diagnostic results to the ERROR register
  127.           --   Drive 0 clears BUSY when ready to accept commands (within 31
  128.                seconds).
  129.  
  130.  
  131.           SOFT RESET -- TWO DRIVES
  132.           SOFT RESET -- TWO DRIVES
  133.  
  134.  
  135.  
  136.                                            2
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.           --   Soft Reset (register 3F6) set by Host.
  144.           --   Wait for Soft Reset cleared by Host.
  145.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after Soft
  146.                Reset is cleared.
  147.           --   Perform hardware initialization
  148.           --   Revert to default condition
  149.  
  150.           -DRIVE 1
  151.  
  152.           --   Clear BUSY when ready to accept commands.
  153.           --   Negate PDIAG- to show ready to accept commands (within 30
  154.                seconds).
  155.  
  156.           --DRIVE 0
  157.  
  158.           --   Wait up to 31 seconds for Drive 1 to assert PDIAG-.
  159.           --   Clear BUSY when ready to accept commands (within 31 seconds).
  160.  
  161.  
  162.           DIAGNOSTIC COMMAND  -- ONE DRIVE (Passed)
  163.           DIAGNOSTIC COMMAND  -- ONE DRIVE (Passed)
  164.  
  165.           --   Drive 0 sets BUSY within 400 nsecs. after Diagnostic command
  166.                received.
  167.           --   Perform hardware initialization and internal diagnostics.
  168.           --   Reset Command Block registers to default condition.
  169.           --   Post diagnostic results to the ERROR register
  170.           --   Drive 0 clears BUSY when ready to accept commands (within 31
  171.                seconds).
  172.  
  173.  
  174.           DIAGNOSTIC COMMAND -- TWO DRIVES (Passed)
  175.           DIAGNOSTIC COMMAND -- TWO DRIVES (Passed)
  176.  
  177.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after
  178.                Diagnostic command received.
  179.  
  180.           --DRIVE 1
  181.  
  182.           --   Negate PDIAG- within 1 msec. after command received.
  183.           --   Perform hardware initialization and internal diagnostics.
  184.           --   Reset Command Block registers to default condition.
  185.           --   Post diagnostic results to the ERROR register
  186.           --   Clear BUSY when ready to accept commands.
  187.           --   Negate PDIAG- to show ready to accept commands (within 5
  188.                seconds).
  189.  
  190.           --DRIVE 0
  191.  
  192.           --   Perform hardware initialization and internal diagnostics.
  193.           --   Reset Command Block registers to default condition.
  194.           --   Wait up to 6 seconds for Drive 1 to assert PDIAG-.
  195.           --   Post diagnostic results to the ERROR register
  196.           --   Clear BUSY when ready to accept commands (within 6 seconds).
  197.  
  198.  
  199.           DIAGNOSTIC COMMAND  -- ONE DRIVE (Failed)
  200.           DIAGNOSTIC COMMAND  -- ONE DRIVE (Failed)
  201.  
  202.  
  203.  
  204.  
  205.                                            3
  206.  
  207.  
  208.  
  209.  
  210.  
  211.           --   Drive 0 sets BUSY within 400 nsecs. after Diagnostic command
  212.                received.
  213.           --   Perform hardware initialization and internal diagnostics.
  214.           --   Reset Command Block registers to default condition.
  215.           --   Post diagnostic error to the ERROR register (failed)
  216.           --   Drive 0 clears BUSY when ready to accept commands (within 6
  217.                seconds)
  218.  
  219.  
  220.           DIAGNOSTIC COMMAND -- TWO DRIVES (Drive 1 Failed)
  221.           DIAGNOSTIC COMMAND -- TWO DRIVES (Drive 1 Failed)
  222.  
  223.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after
  224.                Diagnostic command received.
  225.  
  226.           -DRIVE 1
  227.  
  228.           --   Negate PDIAG- within 1 msec. after command received.
  229.           --   Perform hardware initialization and internal diagnostics.
  230.           --   Reset Command Block registers to default condition.
  231.           --   Post diagnostic error to the ERROR register
  232.           --   Clear BUSY.
  233.           --   PDIAG- is not negated indicating Drive 1 failed.
  234.  
  235.           --DRIVE 0
  236.  
  237.           --   Perform hardware initialization and internal diagnostics.
  238.           --   Reset Command Block registers to default condition.
  239.           --   Wait 6 seconds for Drive 1 to assert PDIAG- (PDIAG- is not
  240.                asserted).
  241.           --   Post diagnostic results to the ERROR register (bit 7 is set
  242.                showing that Drive 1 failed diagnostics).
  243.           --   Clear BUSY when ready to accept commands (within 6 seconds).
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.                                            4
  273.